package club.dataresources.service;

import club.dataresources.entity.Waiter;
import com.github.pagehelper.Page;

public interface WaiterService {

    //增
	public boolean addWaiter(Waiter waiter) throws Exception;

	//删
	public boolean removeWaiter(Integer waiterId) throws Exception;

	//改
	public boolean updateWaiter(Waiter waiter) throws Exception;

	//查

	//列表
	public Page<Waiter> listWaiter(Integer page, Integer rows, Waiter waiter) throws Exception;

	//随机获得一个服务员
	public Waiter getRandomWaiter() throws Exception;
}
